//
//  TWAllCategoriesRectangleCardCell.swift
//  EyepetizerImitative
//
//  Created by 田伟 on 2017/4/18.
//  Copyright © 2017年 个人. All rights reserved.
//

import UIKit
import SDWebImage

class TWAllCategoriesRectangleCardCell: UICollectionViewCell {
    @IBOutlet weak var bigImageView: UIImageView!
    var model : TWAllCategoriesModel?{
        didSet {
            guard let model = model else {
                return
            }
            let url = model.image
            guard let url1 =  url else {
                return
            }
            bigImageView.sd_setImage(with: URL(string: url1))
        }
    }
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
}
